package jpb.module.dao.organize.mapper;

import jpb.module.daomain.organize.Organize;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by haol on 2017/4/1.
 */
@Repository
public interface OrganizeMapper {

        Organize getByMark(@Param("mark") String mark);

        void add(@Param("organize") Organize organize);

    //    void deleteType(@Param("id") String id);

        void complete(@Param("organize") Organize organize);

        Organize get(@Param("id") String id);

        List<Organize> getByMid(@Param("mid") String mid);

        List<Organize> getByNum(@Param("memberNum") String memberNum);

        List<Organize> getPubOrgByNum(@Param("memberNum") String memberNum);

        List<Organize> getPubOrg();

        void  clearFollow(@Param("oid") String oid);

        void delete(@Param("id") String id);

        void deleteOrgMem(@Param("id") String id);

        //void deleteProOrg(@Param("id") String id);

        void deleteManOrg(@Param("id") String id);

     //   void deleteFouOrg(@Param("id") String id);

      //  void deleteMemPro(@Param("id") String id);

        void updateTime(@Param("id") String id, @Param("time") String time);

        void updateLogo(@Param("organize") Organize organize);

     //   void updateType(@Param("id") String id, @Param("type") Integer type);

        //OType getType(@Param("oid") String oid);






}
